package com.champ.mc.runner.t10;

import com.champ.mc.service.t10.PrintString;

public class Run {
    public static void main(String[] args) {
        PrintString printString = new PrintString();
        Thread thread = new Thread(printString);
        thread.start();
        System.out.println("will stop service="+ Thread.currentThread().getName());
        printString.setIscontinuePrint(false);
    }

}
